package com.pyw.http_client_test.entity;

import java.util.List;

public class ProductResult {

	/**
	 * 当前页数
	 */
	private Integer pageNum;
	
	/**
	 * 每页返回多少条
	 */
	private Integer pageSize;
	
	/**
	 * 总条数
	 */
	private Integer total;
	
	/**
	 * 详细信息
	 */
	private List<Product> list;

	public Integer getPageNum() {
		return pageNum;
	}

	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Integer getTotal() {
		return total;
	}

	public void setTotal(Integer total) {
		this.total = total;
	}

	public List<Product> getList() {
		return list;
	}

	public void setList(List<Product> list) {
		this.list = list;
	}

	@Override
	public String toString() {
		return "ProductResult [pageNum=" + pageNum + ", pageSize=" + pageSize + ", total=" + total + ", list=" + list
				+ "]";
	}
	
	
}
